package cn.tedu.account.mapper;

import cn.tedu.account.entity.Account;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.math.BigDecimal;

/**
 * @outhor wuyanzu
 * @date 2021- 04- 07
 */
public interface AccountMapper extends BaseMapper<Account> {
    //扣减账户金额
    void decrease(long userId, BigDecimal money);
}
